package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoStorageStaffUserVO;
import com.yunxi.sto.pojo.StoStorageStaffVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 仓储人员 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-06-06
 */
public interface StoStorageStaffDubboService {

    StoStorageStaffVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(StoStorageStaffVO stoStorageStaffVO) throws Exception;

    void removeById(String id);

    PageInfo<StoStorageStaffVO> findPageByVO(StoStorageStaffVO stoStorageStaffVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<StoStorageStaffVO> stoStorageStaffVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    void delAndReset(List<String> list,String isOnUse,String userId)throws Exception;

    List<StoStorageStaffVO> staffList()throws Exception;

    List<StoStorageStaffVO> export(StoStorageStaffVO stoStorageStaffVO)throws Exception;

    List<StoStorageStaffUserVO> getStaffList(String positionCode,String partnerCode);
}
